package com.dzx.currentency.dao;

import com.dzx.currentency.annoations.SymbolShard;
import com.dzx.currentency.entity.UserEntity;
import org.apache.ibatis.annotations.Param;

/**
 * @author DuanZhaoXu
 * @ClassName:
 * @Description:
 * @date 2018年11月22日 09:06:05
 */

public interface UserDao {
     UserEntity queryById(Integer id);

     UserEntity queryByName(String name);

     int insertUser(UserEntity user);


     int deleteByPrimaryKey(Integer id);

     int insertSelective(@SymbolShard String instrumentId, @Param("record")UserEntity record);
     UserEntity selectByPrimaryKey(Integer id);
     int updateByPrimaryKeySelective(UserEntity record);
     int updateByPrimaryKey(UserEntity record);



}
